package cn.lijiajia3515.cairo.auth.modules.department;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 部门 保存 请求
 */
@Data
@Accessors(chain = true)

@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder(toBuilder = true)
public class SaveDepartmentParam implements Serializable {
	/**
	 * 父级
	 */
	@NotNull
	private String parent;

	/**
	 * 名称
	 */
	private String name;

	/**
	 * 备注
	 */
	private String remark;
}
